<{foreach from=$list item=item}>
<li>
    <a href="<{u('info/?id='|cat:$item['id'])}>">
        <div class="thumb" style="background: url(<{$preUploadUrl}><{$item.listPic}>) no-repeat;"></div>
        <div class="detail">
            <h3><{$item.titleList}></h3>
            <div class="section">
                <div class="part-1">
                    <p>
                        <{* 显示积分与价格 *}>
                        <{if $item.point gt 0 and $item.nowPrice eq 0}>
                            <em class="red"><{$item.point}></em>积分
                        <{elseif  $item.point eq 0 and $item.nowPrice gt 0 }>
                            <em class="red"><{$item.nowPrice}></em>元
                        <{elseif  $item.point gt 0 and $item.nowPrice gt 0 }>
                        <em class="red"><{$item.point}></em>积分 +<em class="red"><{$item.nowPrice}></em>元
                        <{/if}>
                    </p>

                    <{if $item.showStatus == 3}>
                        <p class="timeCounter red" data-time="<{$item.restTime}>">距离开始 </p>
                    <{else}>
                        <span class="hx"><span class="op">原价: ¥<{$item.originalPrice}></span> <{if $item.isShowStock}><span class="stock">（共<{$item.stock}>件)</span> <{/if}></span>
                    <{/if}>

                </div>





                <div class="part-2">

                    <{if $item.showStatus == 1}>
                        <span class="state state-2">已兑换</span>
                        <p class="sale">已售<em><{$item.salesVolume}></em>件</p>
                    <{else if $item.showStatus == 2}>
                        <{if $item.showStock == 0}>
                            <span class="state state-2">已抢完</span>
                        <{else}>
                            <{if  $item.point eq 0 and $item.nowPrice gt 0 }>
                                <span class="state state-1">去抢购</span>
                            <{else}>
                                <span class="state state-1">去抢兑</span>
                            <{/if}>
                        <{/if}>
                        <p class="sale">已售<em><{$item.salesVolume}></em>件</p>
                    <{else if $item.showStatus == 3}>
                        <span class="state state-2">未开始</span>
                        <{if $item.isShowStock}>
                        <p class="sale">共<em><{$item.stock}></em>件</p>
                        <{/if}>
                    <{else if $item.showStatus == 4}>
                        <span class="state state-2">已结束</span>
                    <{/if}>
                </div>



            </div>
        </div>
    </a>
</li>


<{/foreach}>